package com.zhangdi.mgsync.core.adapter;

import com.mongodb.client.model.changestream.ChangeStreamDocument;
import org.bson.Document;

/**
 * Created by zhangdi on 2020/07/17 17:23:39.
 */
public interface SyncFactory<T extends MyDocument> {
    void execute(SyncAdapter<T> api, ChangeStreamDocument<Document> raw, T obj);
}
